
package ro.qi.framework.sys.security.entities;

import java.util.Date;

import ro.qi.framework.sys.entities.Entity;

public class SecurityGroupRoleACL extends Entity {

	public SecurityGroupRoleACL() {
		super();
	}

	public SecurityGroupRoleACL(int groupId, int roleId) {
		super();
		setGroupId(groupId);
		setRoleId(roleId);
		select();
	}

	public void setGroupId(int value) {
		setValue("groupId", value);
	}

	public int getGroupId() {
		return getIntValue("groupId");
	}

	public void setRoleId(int value) {
		setValue("roleId", value);
	}

	public int getRoleId() {
		return getIntValue("roleId");
	}

	public Date getCreatedTime() {
		return getDateValue("createdTime");
	}

	public Date getUpdatedTime() {
		return getDateValue("updatedTime");
	}

}
